// 插件加载

import Vue from "vue";
import "normalize.css";
// import ElementUI from "element-ui";
// import Antd from "ant-design-vue";
import {
  Sider,
  MenuItem,
  Menu,
  Submenu,
  Breadcrumb,
  BreadcrumbItem,
  Button,
  Input,
  Form,
  FormItem,
  Message
} from "view-design";
import SvgIcon from "vue-svgicon";
import "view-design/dist/styles/iview.css";
import "@/styles/index.less";
import "@/icons/components";
// import * as echarts from "echarts";
import common from "./utils/common";
import Fragment from "vue-fragment";

Vue.use(Fragment.Plugin);
// Vue.use(ElementUI);
// Vue.use(Antd);
Vue.component("Sider", Sider);
Vue.component("MenuItem", MenuItem);
Vue.component("Breadcrumb", Breadcrumb);
Vue.component("BreadcrumbItem", BreadcrumbItem);
Vue.component("Button", Button);
Vue.component("Input", Input);
Vue.component("Form", Form);
Vue.component("FormItem", FormItem);
Vue.component("Submenu", Submenu);
Vue.component("Menu", Menu);
Vue.prototype.$Message=Message
Vue.use(SvgIcon, {
  tagName: "svg-icon",
  defaultWidth: "1em",
  defaultHeight: "1em"
});
Vue.use(common);
Vue.config.productionTip = false;
